<ion-header>
  <ion-toolbar>
    <ion-title>
      详情页
    </ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
   <ion-grid>
        <ion-row>
            <div class="col col-10">
              <ion-label>时间</ion-label>
            </div>
            <div class="col col-45">
          
              <ion-datetime class="dataTime" display-format="YYYY/MM/DD HH:mm" [(ngModel)]="strDate"></ion-datetime>
            </div>
            <div class="col col-45">
              <ion-datetime class="dataTime" display-format="YYYY/MM/DD HH:mm" [(ngModel)]="endDate"></ion-datetime>
            </div>
        </ion-row>
        <ion-row>
            <div class="col col-10">
              <ion-label >站点</ion-label>
            </div>
            <div class="col col-45">
              <ion-select class="dataTime"  (ionChange)="getDealerName($event)" [(ngModel)]="getSelectedValue">
                  <ion-select-option name="staion" *ngFor="let some of someItems" value="{{some.stationid}}"> {{some.stationName}} </ion-select-option>
            </ion-select>
          </div>
          <div class="col col-45">
              <button ion-button class="btnsearch"  (click)="search()">查询</button>
            </div>

        </ion-row>
    </ion-grid>
    <ngx-datatable [rows]="rowsList" [columns]="columns" 
    [scrollbarH]="true" class="material border striped">
 </ngx-datatable>
</ion-content>
